using System;

namespace LocalBoard.Domain
{
	/// <summary>
	/// Summary description for Vote.
	/// </summary>
	public class Vote
	{
		private int _messageId;
		private int _profileId;
		private int _point;
		public int MessageId
		{
			get {return _messageId;}
		}
		public int ProfileId
		{
			get {return _profileId;}
		}
		public int Point
		{
			get {return _point;}
		}

		public Vote(int messageId, int profileId)
		{
			Initialize(messageId, profileId, 0);
		}
		public Vote(int messageId, int profileId, int point)
		{
			Initialize(messageId, profileId, point);
		}

		private void Initialize(int messageId, int profileId, int point)
		{
			_messageId = messageId;
			_profileId = profileId;
			_point = point;
		}
	}
}
